package com.gdones.bootserver.bus.staff.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gdones.bootserver.bus.staff.dto.Staff;
import com.gdones.common.core.dto.MyPageBand;
import com.gdones.common.core.dto.MyPager;
import com.gdones.common.core.dto.MyResult;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author GaoJingBo
 * @since 2023-04-04
 */
public interface IStaffService extends IService<Staff> {

    MyPager<Staff> pages(Staff dto, MyPageBand pager);

    MyResult granteStaffAccount(Staff dto);

    List<Staff> list(Staff dto);
}
